<template>
  <player v-bind:player-id="'page-player-div'" ref="player"></player>
</template>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
<script>
  import Player from "./player";
  export default {
    name: 'page-player',
    components: {Player},
    data: function () {
      return {
        aliPlayer: {}, // 播放器实例
      }
    },
    methods: {
      playUrl(url) {
        let _this = this;
        _this.$refs.player.playUrl(url);
      },

    }
  }
</script>
